<div class="art-post">
    <div class="art-post-tl"></div>
    <div class="art-post-tr"></div>
    <div class="art-post-bl"></div>
    <div class="art-post-br"></div>
    <div class="art-post-tc"></div>
    <div class="art-post-bc"></div>
    <div class="art-post-cl"></div>
    <div class="art-post-cr"></div>
    <div class="art-post-cc"></div>
    <div class="art-post-body">
        <div class="art-post-inner art-article">
            <h2 class="art-postheader">[Chi tiết module]</h2>

            <form action="<?php echo Utility::currentUrl();?>" method="post">
                <table class="tbl-form">
                    <tr>
                        <th>ID</th>
                        <td><?php echo $data->id; ?></td>
                    </tr>
                    <tr>
                        <th>Module_name</th>
                        <td><?php echo $data->name; ?></td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><?php echo $data->title; ?></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><?php echo $data->description; ?></td>
                    </tr>
                    <tr>
                        <th>Type</th>
                        <td><?php echo $data->type; ?></td>
                    </tr>
                    <tr>
                        <th>Status</th>
                        <td>
                            <select name="status">
                                <option value="1" <?php if($data->status == 1) echo 'selected="selected"'; ?>>Kích hoạt</option>
                                <option value="0"
                                <?php if($data->status == 0) echo 'selected="selected"'; ?>>Khóa</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <input type="submit" name="submit" value="Cập nhật">
                            <input type="button" onclick="window.location='<?php echo Utility::getSiteUrl();?>/modules'" value="Quay lại">
                        </td>
                    </tr>
                </table>
            </form>


        </div>
    </div>

    <div class="cleared"></div>
</div>
</div>